package lab02.test12;
import  java.util.Scanner;
public class Test12 {

  public static void main(String[] args) {

        Scanner sc=new Scanner(System.in);

        Rectangular c1=new Rectangular();

        Circle c2=new Circle();

              System.out.println("请输入矩形边长：");

              c1.length1=sc.nextDouble();

              c1.length2=sc.nextDouble();

               c1.toprintln();

              System.out.println("请输入圆形半径");

              c2.R=sc.nextDouble();

              c2.toprintln();

           }

}